package com.data.modules.health.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import com.data.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 房间表
 * @Author: data-boot
 * @Date:   2023-08-23
 * @Version: V1.0
 */
@Data
@TableName("hl_room")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hl_room对象", description="房间表")
public class HlRoom implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**项目*/
	@Excel(name = "项目", width = 15)
    @ApiModelProperty(value = "项目")
    private String projectNo;
	/**科室*/
	@Excel(name = "科室", width = 15, dicCode = "hl_department")
	@Dict(dicCode = "hl_department")
    @ApiModelProperty(value = "科室")
    private String department;
	/**楼层*/
	@Excel(name = "楼层", width = 15, dicCode = "hl_floor")
	@Dict(dicCode = "hl_floor")
    @ApiModelProperty(value = "楼层")
    private String floor;
	/**房间号*/
	@Excel(name = "房间号", width = 15)
    @ApiModelProperty(value = "房间号")
    private String roomNo;
	/**朝向*/
	@Excel(name = "朝向", width = 15, dicCode = "room_toward")
	@Dict(dicCode = "room_toward")
    @ApiModelProperty(value = "朝向")
    private String toward;
	/**面积*/
	@Excel(name = "面积", width = 15)
    @ApiModelProperty(value = "面积")
    private String area;
	/**类型*/
	@Excel(name = "类型", width = 15, dicCode = "hl_room_type")
	@Dict(dicCode = "hl_room_type")
    @ApiModelProperty(value = "类型")
    private Integer type;
	/**状况*/
	@Excel(name = "状况", width = 15, dicCode = "hl_room_status")
	@Dict(dicCode = "hl_room_status")
    @ApiModelProperty(value = "状况")
    private String status;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
	/**序列号*/
	@Excel(name = "序列号", width = 15)
    @ApiModelProperty(value = "序列号")
    private String serialNo;
}
